package com.iotproject.forumservice.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class QuestionVo {

    @ApiModelProperty(value = "问题ID")
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简介(也可以理解为内容)")
    private String description;

    @ApiModelProperty(value = "发起人ID")
    private String creatorId;

    @ApiModelProperty(value = "评论数")
    private Long commentCount;

    @ApiModelProperty(value = "浏览数")
    private Long viewCount;

    @ApiModelProperty(value = "点赞数")
    private Long likeCount;

    @ApiModelProperty(value = "标签")
    private String tag;

    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    //这个签名先传过去，之后可能要用到(教师端)
    @ApiModelProperty(value = "用户签名")
    private String sign;
}
